package com.lvmama.rhino.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lvmama.rhino.mapper.OrderMapper;
import com.lvmama.rhino.pojo.OrderInfo;
import com.lvmama.rhino.service.OrderService;
@Service("orderService")
public class OrderServiceImpl implements OrderService{

	@Autowired
	private OrderMapper orderMapper;

	@Override
	public List<OrderInfo> getListByDate(OrderInfo order) {
		return orderMapper.queryOrderListByDate(order);
	}

	@Override
	public List<OrderInfo> getListByCategory(OrderInfo order) {
		return orderMapper.queryOrderListByCategory(order);
	}

	@Override
	public List<OrderInfo> getListByPerform(OrderInfo order) {
		return orderMapper.queryOrderListByPerform(order);
	}

	
}
